﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimeTabling.Core
{
    public class Basic
    {
        private Guid id;
        public Guid Id 
        { 
            get
            {
                return id;
            }
            set
            {
                if (id == Guid.Empty)
                {
                    id = Guid.NewGuid();
                }
                id = value;
            }
        }
    }
}
